#include <stdio.h>
#include <math.h>

void main()
{
FILE *dot_stream,*out_stream;
char buffer;
int fscan_status,i_close,row_val,cnt;

dot_stream=fopen("converge3.dot","r");
out_stream=fopen("converge3.out","w");
cnt=0;
for (row_val=0;row_val<900000;row_val++)
{
fscan_status=fscanf(dot_stream,"%c",&buffer);
i_close=(int) buffer;
if ((i_close>=48) && (i_close<=57))
{
printf("%c",buffer);
cnt++;
if (cnt>10)
{
 cnt=0;
 printf("\n");
}
}

}
i_close=fclose(dot_stream);
i_close=fclose(out_stream);
}
